var t = getApp();

Page({
    data: {
        Member: {}
    },
    onLoad: function(t) {},
    onShow: function() {
        this._getData();
    },
    _getData: function() {
        var a = t.getNetAddresss("plugin.shop-esign.frontend.member.get-info"), n = this;
        t._getNetWork({
            url: a,
            success: function(a) {
                var e = a.data;
                1 === e.result ? n.setData({
                    Member: e.data
                }) : t.tips(e.msg);
            },
            fail: function(t) {
                console.log(t, "-----------");
            }
        });
    },
    toSign: function() {
        1 === this.data.Member.status ? wx.navigateTo({
            url: "/packageH/signIndexPlu/signCompany/signCompany"
        }) : wx.navigateTo({
            url: "/packageH/signIndexPlu/personBank/personBank"
        });
    },
    toLists: function() {
        wx.navigateTo({
            url: "/packageH/signIndexPlu/contractList/contractList"
        });
    },
    toGoodList: function() {
        wx.navigateTo({
            url: "/packageB/member/category/search_v2/search_v2"
        });
    }
});